package com.gwd.task.repository;

import com.gwd.task.entity.TaskProcessEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhiyongming
 * @date 2020/11/26 18:12
 */
@Repository
public interface TaskProcessRepository extends JpaRepository<TaskProcessEntity, Long> {
    List<TaskProcessEntity> findByTaskId(Long taskId);

    List<TaskProcessEntity> findByTaskIdIn(List<Long> ids);
}
